﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace spring.stp6.web.Models
{
    public class DiaryModel
    {
        [Required]
        [Display(Name = "标题")]
        public string Subject { get; set; }

        [Required]        
        [Display(Name = "内容")]
        public string Message { get; set; }

    }
}